package com.ai.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author jiaok
 * @Date 2024-12-01 17:11
 */
@Data
public class OpcServerInfoVo {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "opc名称")
    private String opcServerName;

    @ApiModelProperty(value = "opcServerIp")
    private String ip;

    private String port;

    @ApiModelProperty(value = "通信节点数量")
    private Integer communicationNodeNum;

    @ApiModelProperty(value = "通信状态  -1:连接失败；0:连接中，1连接成功")
    private String state;

    @ApiModelProperty(value = "连接方式 1:匿名登录，2:账号密码")
    private String connectMode;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "所属组织id")
    private String regionBaseId;

    @ApiModelProperty(value = "组织名称")
    private String regionName;

    private LocalDateTime createTime;

    private String createUser;

    private LocalDateTime updateTime;

    private String updateUser;

}
